//
// Mesh.cpp for  in /home/herpec_j/Dropbox/Projets/raytracer-2016/Sources/Maths/
//
// Made by Jonathan
// Login   <ledey_l@epitech.net>
//
// Started on  Sun Sep 22 16:30:37 2013 Jonathan
// Last update Sun Sep 22 16:33:57 2013 Jonathan
//

#include	"Maths/Mesh.hpp"

namespace	Maths
{
  Mesh::Mesh(void) : mVerticesNumber(0), mTrianglesNumber(0)
  {
    return;
  }

  Mesh::Mesh(Mesh const &rOther) : mVertices(rOther.mVertices), mNormals(rOther.mNormals), mU(rOther.mU), mV(rOther.mV), mVerticesNumber(rOther.mVerticesNumber), mTrianglesNumber(rOther.mTrianglesNumber)
  {
    return;
  }

  Mesh		&Mesh::operator=(Mesh const &rOther)
  {
    if (this != &rOther)
      {
	mVertices = rOther.mVertices;
	mNormals = rOther.mNormals;
	mU = rOther.mU;
	mV = rOther.mV;
	mVerticesNumber = rOther.mVerticesNumber;
	mTrianglesNumber = rOther.mTrianglesNumber;
      }
    return (*this);
  }

  Mesh::~Mesh(void)
  {
    return;
  }
};
